package com.lzl.service;

import com.lzl.entity.StorageRecord;
import com.lzl.entity.SysUser;
import com.lzl.utils.Page;
import org.apache.ibatis.annotations.Param;

public interface StorageRecordService {
    public Page<StorageRecord> getPage(@Param("entity") StorageRecord entity,
                                       @Param("offset") Integer pageNo,
                                       @Param("pageSize") Integer pageSize);

    public boolean saveOrUpdate(StorageRecord entity) throws Exception;

    public StorageRecord findById(Long id) throws Exception;

    public StorageRecord findBySrCode(String srCode) throws Exception;

    public boolean deleteById(Long id) throws Exception;

}
